﻿using Max.PH5_2006.ShoppingSite.Domain;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;


namespace Max.PH5_2006.ShoppingSite.DAL
{
    public class PH52006ADbContext : DbContext
    {
        public PH52006ADbContext(DbContextOptions<PH52006ADbContext> options) : base(options) { }

        #region 业务数据

        public DbSet<MemberEntity> Members { get; set; }
        public DbSet<MemberAddressEntity> MemberAddress { get; set; }
        //public DbSet<GoodsEntity> Goods { get; set; }
        public DbSet<OrderEntity> Orders { get; set; }
        public DbSet<OrderDetailEntity> OrderDetails { get; set; }


        public DbSet<CategoryEntity>  Categories { get; set; }
        public DbSet<BrandEntity>  Brands { get; set; }
        public DbSet<SPUEntity> SPUs { get; set; }
        public DbSet<SKUEntity> SKUs { get; set; }
        public DbSet<SKUImageEntity> SKUImages { get; set; }
        public DbSet<DictionaryEntity> Dictionaries { get; set; }
        public DbSet<GoodsEntity>  Goods { get; set; }
        public DbSet<StoreEntity> Stores { get; set; }


        #endregion

        #region 基本数据
        public DbSet<LogEntity> Logs { get; set; }
        public DbSet<CityEntity> Cities { get; set; }

        #endregion
    }
}
